<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>C++ Web Framework: Configuration Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">C++ Web Framework
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_configuration-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Configuration Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>All classes of C++ Web Framework are contained within the namespace CWF.  
 <a href="class_configuration.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="configuration_8h_source.html">configuration.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a60b4858740fb32114fa5f4e72577fa7a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a60b4858740fb32114fa5f4e72577fa7a">Configuration</a> (const QString &amp;serverFilesPath=&quot;&quot;)</td></tr>
<tr class="memdesc:a60b4858740fb32114fa5f4e72577fa7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will make reading the CPPWeb.ini file and extract all of its properties.  <a href="#a60b4858740fb32114fa5f4e72577fa7a">More...</a><br /></td></tr>
<tr class="separator:a60b4858740fb32114fa5f4e72577fa7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab39a76ac734b52df96c9c07f71764ae2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#ab39a76ac734b52df96c9c07f71764ae2">getTimeOut</a> () const noexcept</td></tr>
<tr class="memdesc:ab39a76ac734b52df96c9c07f71764ae2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the timeOut property that will be used by the server to expire threads that are not in use. Such threads will be restarted as needed. The default timeOut is 30000 milliseconds (30 seconds). If timeOut is negative, newly created threads will not expire, e.g., they will not exit until the thread pool is destroyed.  <a href="#ab39a76ac734b52df96c9c07f71764ae2">More...</a><br /></td></tr>
<tr class="separator:ab39a76ac734b52df96c9c07f71764ae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f953d35c709126b15603071b4132ab"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a56f953d35c709126b15603071b4132ab">getSessionExpirationTime</a> () const noexcept</td></tr>
<tr class="memdesc:a56f953d35c709126b15603071b4132ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="class_session.html" title="The Session class holds information about a client session. ">Session</a> Expiration Time.  <a href="#a56f953d35c709126b15603071b4132ab">More...</a><br /></td></tr>
<tr class="separator:a56f953d35c709126b15603071b4132ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a761377328a3212a8387d033282b78e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a7a761377328a3212a8387d033282b78e">getCleanupInterval</a> () const noexcept</td></tr>
<tr class="memdesc:a7a761377328a3212a8387d033282b78e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the clean up interval Time.  <a href="#a7a761377328a3212a8387d033282b78e">More...</a><br /></td></tr>
<tr class="separator:a7a761377328a3212a8387d033282b78e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71c68a3810e4c408e1e76f66b4ab11ff"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a71c68a3810e4c408e1e76f66b4ab11ff">getPort</a> () const noexcept</td></tr>
<tr class="memdesc:a71c68a3810e4c408e1e76f66b4ab11ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the port number.  <a href="#a71c68a3810e4c408e1e76f66b4ab11ff">More...</a><br /></td></tr>
<tr class="separator:a71c68a3810e4c408e1e76f66b4ab11ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47b1c954104ceea3c18fac417c1df323"><td class="memItemLeft" align="right" valign="top">QHostAddress&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a47b1c954104ceea3c18fac417c1df323">getHost</a> () const noexcept</td></tr>
<tr class="memdesc:a47b1c954104ceea3c18fac417c1df323"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the address.  <a href="#a47b1c954104ceea3c18fac417c1df323">More...</a><br /></td></tr>
<tr class="separator:a47b1c954104ceea3c18fac417c1df323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1adc08d559e9e7209dfd73c436c27288"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a1adc08d559e9e7209dfd73c436c27288">getMaxThread</a> () const noexcept</td></tr>
<tr class="memdesc:a1adc08d559e9e7209dfd73c436c27288"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the max thread number.  <a href="#a1adc08d559e9e7209dfd73c436c27288">More...</a><br /></td></tr>
<tr class="separator:a1adc08d559e9e7209dfd73c436c27288"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff6b12e5b77552fb0feb9f9598335049"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#aff6b12e5b77552fb0feb9f9598335049">getSslKeyFile</a> () const noexcept</td></tr>
<tr class="memdesc:aff6b12e5b77552fb0feb9f9598335049"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the ssl key file.  <a href="#aff6b12e5b77552fb0feb9f9598335049">More...</a><br /></td></tr>
<tr class="separator:aff6b12e5b77552fb0feb9f9598335049"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d58b7b13992eb1ce0789b9442ff663c"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a7d58b7b13992eb1ce0789b9442ff663c">getSslCertFile</a> () const noexcept</td></tr>
<tr class="memdesc:a7d58b7b13992eb1ce0789b9442ff663c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the ssl cert file.  <a href="#a7d58b7b13992eb1ce0789b9442ff663c">More...</a><br /></td></tr>
<tr class="separator:a7d58b7b13992eb1ce0789b9442ff663c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8a0a39c01183a3ffa8d5e1511a2a883"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#ae8a0a39c01183a3ffa8d5e1511a2a883">getPath</a> () const noexcept</td></tr>
<tr class="memdesc:ae8a0a39c01183a3ffa8d5e1511a2a883"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the path to the server's folder.  <a href="#ae8a0a39c01183a3ffa8d5e1511a2a883">More...</a><br /></td></tr>
<tr class="separator:ae8a0a39c01183a3ffa8d5e1511a2a883"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a2c6ace6f2fbe725998a3ee3656b1c"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a26a2c6ace6f2fbe725998a3ee3656b1c">getLogFilePath</a> () const noexcept</td></tr>
<tr class="memdesc:a26a2c6ace6f2fbe725998a3ee3656b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the log file path.  <a href="#a26a2c6ace6f2fbe725998a3ee3656b1c">More...</a><br /></td></tr>
<tr class="separator:a26a2c6ace6f2fbe725998a3ee3656b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6366d5802568dca07d4a633110f07863"><td class="memItemLeft" align="right" valign="top">qint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a6366d5802568dca07d4a633110f07863">getMaxUploadFile</a> () const noexcept</td></tr>
<tr class="memdesc:a6366d5802568dca07d4a633110f07863"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns max upload file size supported by the server.  <a href="#a6366d5802568dca07d4a633110f07863">More...</a><br /></td></tr>
<tr class="separator:a6366d5802568dca07d4a633110f07863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0ff5f0aca0bd13e5676847db77bac58"><td class="memItemLeft" align="right" valign="top">qint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#af0ff5f0aca0bd13e5676847db77bac58">getMaxLogFile</a> () const noexcept</td></tr>
<tr class="memdesc:af0ff5f0aca0bd13e5676847db77bac58"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMaxLogFile the max file log  <a href="#af0ff5f0aca0bd13e5676847db77bac58">More...</a><br /></td></tr>
<tr class="separator:af0ff5f0aca0bd13e5676847db77bac58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab67d7ba6abdfc27f5a66042377b01cd4"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#ab67d7ba6abdfc27f5a66042377b01cd4">getIndexPage</a> () const noexcept</td></tr>
<tr class="memdesc:ab67d7ba6abdfc27f5a66042377b01cd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index page.  <a href="#ab67d7ba6abdfc27f5a66042377b01cd4">More...</a><br /></td></tr>
<tr class="separator:ab67d7ba6abdfc27f5a66042377b01cd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28db1b4cea9169d74939107f45e18123"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a28db1b4cea9169d74939107f45e18123">getAccessServerPages</a> () const noexcept</td></tr>
<tr class="memdesc:a28db1b4cea9169d74939107f45e18123"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the access server page.  <a href="#a28db1b4cea9169d74939107f45e18123">More...</a><br /></td></tr>
<tr class="separator:a28db1b4cea9169d74939107f45e18123"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5e1bc207332b2f089f2168ada606c48"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#ae5e1bc207332b2f089f2168ada606c48">getSslPassPhrase</a> () const noexcept</td></tr>
<tr class="memdesc:ae5e1bc207332b2f089f2168ada606c48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the ssl pass phrase.  <a href="#ae5e1bc207332b2f089f2168ada606c48">More...</a><br /></td></tr>
<tr class="separator:ae5e1bc207332b2f089f2168ada606c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad998fe40caeeb4c412f00f0874c67c9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#aad998fe40caeeb4c412f00f0874c67c9">isValid</a> () const noexcept</td></tr>
<tr class="memdesc:aad998fe40caeeb4c412f00f0874c67c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the <a class="el" href="class_configuration.html" title="All classes of C++ Web Framework are contained within the namespace CWF. ">Configuration</a> is ok. Otherwise returns false.  <a href="#aad998fe40caeeb4c412f00f0874c67c9">More...</a><br /></td></tr>
<tr class="separator:aad998fe40caeeb4c412f00f0874c67c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a490e50bab0cdb1ccb531ee2472e97ca6"><td class="memItemLeft" align="right" valign="top">QSsl::KeyAlgorithm&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#a490e50bab0cdb1ccb531ee2472e97ca6">getSslKeyAlgorithm</a> () const noexcept</td></tr>
<tr class="memdesc:a490e50bab0cdb1ccb531ee2472e97ca6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SSL Key Algorithm. The RSA is defined by default.  <a href="#a490e50bab0cdb1ccb531ee2472e97ca6">More...</a><br /></td></tr>
<tr class="separator:a490e50bab0cdb1ccb531ee2472e97ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd78f9eb7315e0b0ed5c7d3088ce1795"><td class="memItemLeft" align="right" valign="top">QSsl::KeyType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#abd78f9eb7315e0b0ed5c7d3088ce1795">getSslKeyType</a> () const noexcept</td></tr>
<tr class="memdesc:abd78f9eb7315e0b0ed5c7d3088ce1795"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SSL Key Type. The private is defined by default.  <a href="#abd78f9eb7315e0b0ed5c7d3088ce1795">More...</a><br /></td></tr>
<tr class="separator:abd78f9eb7315e0b0ed5c7d3088ce1795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa839f957ac9af33187140649b38785ef"><td class="memItemLeft" align="right" valign="top">QSsl::EncodingFormat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#aa839f957ac9af33187140649b38785ef">getSslEncodingFormat</a> () const noexcept</td></tr>
<tr class="memdesc:aa839f957ac9af33187140649b38785ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SSL Encoding Format. The PEM is defined by default.  <a href="#aa839f957ac9af33187140649b38785ef">More...</a><br /></td></tr>
<tr class="separator:aa839f957ac9af33187140649b38785ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7e5872717b012e16dc2255d1741e422"><td class="memItemLeft" align="right" valign="top">QSslSocket::PeerVerifyMode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#ae7e5872717b012e16dc2255d1741e422">getSslPeerVerifyMode</a> () const noexcept</td></tr>
<tr class="memdesc:ae7e5872717b012e16dc2255d1741e422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SSL Peer Veryfy Mode. The VerifyNone is defined by default.  <a href="#ae7e5872717b012e16dc2255d1741e422">More...</a><br /></td></tr>
<tr class="separator:ae7e5872717b012e16dc2255d1741e422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfe38d1e3f4801c942ad2e57165509f7"><td class="memItemLeft" align="right" valign="top">QSsl::SslProtocol&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_configuration.html#acfe38d1e3f4801c942ad2e57165509f7">getSslProtocol</a> () const noexcept</td></tr>
<tr class="memdesc:acfe38d1e3f4801c942ad2e57165509f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SSL Protocol. The TlsV1SslV3 is defined by default.  <a href="#acfe38d1e3f4801c942ad2e57165509f7">More...</a><br /></td></tr>
<tr class="separator:acfe38d1e3f4801c942ad2e57165509f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>All classes of C++ Web Framework are contained within the namespace CWF. </p>
<p>This class is responsable to read a ini file and extract its information. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a60b4858740fb32114fa5f4e72577fa7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60b4858740fb32114fa5f4e72577fa7a">&#9670;&nbsp;</a></span>Configuration()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CWF_BEGIN_NAMESPACE Configuration::Configuration </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>serverFilesPath</em> = <code>&quot;&quot;</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Will make reading the CPPWeb.ini file and extract all of its properties. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QString</td><td>serverFilesPath : You should always points to the directory server. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Example</dt><dd><div class="fragment"><div class="line"><span class="preprocessor">#include &lt;QCoreApplication&gt;</span></div><div class="line"><span class="preprocessor">#include &lt;cwf/cppwebapplication.h&gt;</span></div><div class="line"></div><div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])</div><div class="line">{     </div><div class="line">    CWF::CppWebApplication a(argc, argv, <span class="stringliteral">&quot;PATH_TO_SERVER_FOLDER&quot;</span>);</div><div class="line">    <span class="keywordflow">return</span> a.start();</div><div class="line">}</div></div><!-- fragment --> </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a28db1b4cea9169d74939107f45e18123"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28db1b4cea9169d74939107f45e18123">&#9670;&nbsp;</a></span>getAccessServerPages()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Configuration::getAccessServerPages </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the access server page. </p>
<dl class="section return"><dt>Returns</dt><dd>bool : Access server pages. </dd></dl>

</div>
</div>
<a id="a7a761377328a3212a8387d033282b78e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a761377328a3212a8387d033282b78e">&#9670;&nbsp;</a></span>getCleanupInterval()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Configuration::getCleanupInterval </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the clean up interval Time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>: Time in milliseconds. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a47b1c954104ceea3c18fac417c1df323"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47b1c954104ceea3c18fac417c1df323">&#9670;&nbsp;</a></span>getHost()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QHostAddress Configuration::getHost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QHostAddress</td><td>: host. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab67d7ba6abdfc27f5a66042377b01cd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab67d7ba6abdfc27f5a66042377b01cd4">&#9670;&nbsp;</a></span>getIndexPage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString Configuration::getIndexPage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index page. </p>
<dl class="section return"><dt>Returns</dt><dd>QString : index page name. </dd></dl>

</div>
</div>
<a id="a26a2c6ace6f2fbe725998a3ee3656b1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26a2c6ace6f2fbe725998a3ee3656b1c">&#9670;&nbsp;</a></span>getLogFilePath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString Configuration::getLogFilePath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the log file path. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QString</td><td>: log file. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af0ff5f0aca0bd13e5676847db77bac58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0ff5f0aca0bd13e5676847db77bac58">&#9670;&nbsp;</a></span>getMaxLogFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">qint64 Configuration::getMaxLogFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>getMaxLogFile the max file log </p>
<dl class="section return"><dt>Returns</dt><dd>qint64 : Max file log in bytes. </dd></dl>

</div>
</div>
<a id="a1adc08d559e9e7209dfd73c436c27288"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1adc08d559e9e7209dfd73c436c27288">&#9670;&nbsp;</a></span>getMaxThread()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Configuration::getMaxThread </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the max thread number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>: max. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6366d5802568dca07d4a633110f07863"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6366d5802568dca07d4a633110f07863">&#9670;&nbsp;</a></span>getMaxUploadFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">qint64 Configuration::getMaxUploadFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns max upload file size supported by the server. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">qint64</td><td>max file size. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae8a0a39c01183a3ffa8d5e1511a2a883"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8a0a39c01183a3ffa8d5e1511a2a883">&#9670;&nbsp;</a></span>getPath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString Configuration::getPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the path to the server's folder. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QString</td><td>: path. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a71c68a3810e4c408e1e76f66b4ab11ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71c68a3810e4c408e1e76f66b4ab11ff">&#9670;&nbsp;</a></span>getPort()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Configuration::getPort </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the port number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>: port. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a56f953d35c709126b15603071b4132ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56f953d35c709126b15603071b4132ab">&#9670;&nbsp;</a></span>getSessionExpirationTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Configuration::getSessionExpirationTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="class_session.html" title="The Session class holds information about a client session. ">Session</a> Expiration Time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>: Time in milliseconds. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7d58b7b13992eb1ce0789b9442ff663c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d58b7b13992eb1ce0789b9442ff663c">&#9670;&nbsp;</a></span>getSslCertFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString Configuration::getSslCertFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the ssl cert file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QString</td><td>: sslCertFile name. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa839f957ac9af33187140649b38785ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa839f957ac9af33187140649b38785ef">&#9670;&nbsp;</a></span>getSslEncodingFormat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSsl::EncodingFormat Configuration::getSslEncodingFormat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the SSL Encoding Format. The PEM is defined by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QSsl::EncodingFormat</td><td>: SSL key Encoding Format. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a490e50bab0cdb1ccb531ee2472e97ca6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a490e50bab0cdb1ccb531ee2472e97ca6">&#9670;&nbsp;</a></span>getSslKeyAlgorithm()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSsl::KeyAlgorithm Configuration::getSslKeyAlgorithm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the SSL Key Algorithm. The RSA is defined by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QSsl::KeyAlgorithm</td><td>: SSL key Algorithm. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aff6b12e5b77552fb0feb9f9598335049"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff6b12e5b77552fb0feb9f9598335049">&#9670;&nbsp;</a></span>getSslKeyFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString Configuration::getSslKeyFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the ssl key file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QString</td><td>: sslKeyFile name. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abd78f9eb7315e0b0ed5c7d3088ce1795"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd78f9eb7315e0b0ed5c7d3088ce1795">&#9670;&nbsp;</a></span>getSslKeyType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSsl::KeyType Configuration::getSslKeyType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the SSL Key Type. The private is defined by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QSsl::KeyType</td><td>: SSL key Type. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae5e1bc207332b2f089f2168ada606c48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5e1bc207332b2f089f2168ada606c48">&#9670;&nbsp;</a></span>getSslPassPhrase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray Configuration::getSslPassPhrase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the ssl pass phrase. </p>
<dl class="section return"><dt>Returns</dt><dd>QByteArray : sslPassPhrase. </dd></dl>

</div>
</div>
<a id="ae7e5872717b012e16dc2255d1741e422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7e5872717b012e16dc2255d1741e422">&#9670;&nbsp;</a></span>getSslPeerVerifyMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSslSocket::PeerVerifyMode Configuration::getSslPeerVerifyMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the SSL Peer Veryfy Mode. The VerifyNone is defined by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QSslSocket::PeerVerifyMode</td><td>: Peer Veryfy Mode; </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acfe38d1e3f4801c942ad2e57165509f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfe38d1e3f4801c942ad2e57165509f7">&#9670;&nbsp;</a></span>getSslProtocol()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSsl::SslProtocol Configuration::getSslProtocol </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the SSL Protocol. The TlsV1SslV3 is defined by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QSsl::SslProtocol</td><td>: SSL Protocol; </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab39a76ac734b52df96c9c07f71764ae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab39a76ac734b52df96c9c07f71764ae2">&#9670;&nbsp;</a></span>getTimeOut()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Configuration::getTimeOut </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the timeOut property that will be used by the server to expire threads that are not in use. Such threads will be restarted as needed. The default timeOut is 30000 milliseconds (30 seconds). If timeOut is negative, newly created threads will not expire, e.g., they will not exit until the thread pool is destroyed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>: Time in milliseconds. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aad998fe40caeeb4c412f00f0874c67c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad998fe40caeeb4c412f00f0874c67c9">&#9670;&nbsp;</a></span>isValid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Configuration::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the <a class="el" href="class_configuration.html" title="All classes of C++ Web Framework are contained within the namespace CWF. ">Configuration</a> is ok. Otherwise returns false. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>: is valid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/<a class="el" href="configuration_8h_source.html">configuration.h</a></li>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/configuration.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 28 2018 11:09:08 for C++ Web Framework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
